﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Doves.DataAccessLayer;
using Doves.Utilities;

namespace Doves.BussinessLayer
{
    public class ContentKilledChildBO : BaseBO
    {
        public IEnumerable<ContentKilledChild> GetAllContentKilledChild()
        {
            return _dao.ContentKilledChild.GetAllContentKilledChild();
        }
        public ContentKilledChild GetContentKilledChildById(int Id)
        {
            return _dao.ContentKilledChild.GetContentKilledChildById(Id);
        }
        public bool UpdateContentKilledChild(ContentKilledChild inContentKilledChild)
        {
            return _dao.ContentKilledChild.UpdateContentKilledChild(inContentKilledChild);
        }
        public bool InsertContentKilledChild(ContentKilledChild inContentKilledChild)
        {
            return _dao.ContentKilledChild.InsertContentKilledChild(inContentKilledChild);
        }

        public ReturnValue<bool> DelContentKilledChild(int inId)
        {
            return _dao.ContentKilledChild.DelContentKilledChild(inId);
        }
        public ReturnValue<bool> DelContentKilledChild(ContentKilledChild inContentKilledChild)
        {
            return _dao.ContentKilledChild.DelContentKilledChild(inContentKilledChild);
        }
        public IEnumerable<ContentKilledChild> GetContentKilledChildByArticleAnalizerId(int inArticleAnalizerId)
        {
            return _dao.ContentKilledChild.GetContentKilledChildByArticleAnalizerId(inArticleAnalizerId);
        }
    }
}
